package com.cz.background.common.dto;


import java.util.List;


public class PageResponseResult<T> {

    private List<T> records; // 当前页的数据列表
    private int page;   // 总页数
    private long total; // 总记录数
    private int pageSize;         // 每页的大小
    private int pageNumber;       // 当前页码

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }
}
